<% content_for :head do -%>
  <%= javascript_include_tag 'calendar_date_select/calendar_date_select', 'calendar_date_select/format_euro_24hr' %>
  <%= stylesheet_link_tag 'calendar_date_select/default' %>
  <script type="text/javascript" src="http://www.google.com/jsapi?key=<%= API_KEYS['gmkey'] %>"></script>
  <script type="text/javascript">
    google.load("maps", "2.x");
  </script>
<% end -%>



<div id="breadcrumb">
  <a href="/">inicio</a> <%= link_to "actualizar evento", {:action => 'new', :controller => 'events'} %>
</div>

<div class="clearfix">

<div class="col1_2">  
<div class="whitebox">
  <div class="cont clearfix">
    <% form_for :event, :url => "/events/update/#{@event.to_param}" do |f| -%>
      <%= render :partial => 'form', :locals => {:f => f} %>
      
      <p class="right"><%= submit_tag 'Actualizar evento', :class => 'yellowbutton' %></p>

    <% end -%>

    <div id="place_operations"></div>

  </div><!-- .cont -->
</div><!-- .whitebox -->
</div><!-- .col1_2 -->

<div class="col2_2">
  
  <div class="yellowbox">
    <div class="cont clearfix">
    Cambia los campos que te hagan falta para dejar tu evento a tu gusto.
    </div><!-- .cont -->
  </div><!-- .yellowbox -->
  
</div><!-- .col1_2 -->

</div><!-- .clearfix -->
